from django.urls import path,re_path,include
import apps.goods.views as views
app_name='goods'
urlpatterns = [
    re_path('^$',views.IndexView.as_view(),name='index'),
    re_path('^goods/(?P<id>\d+)$', views.GoodsDetail.as_view(), name='detail'),
    re_path('^list/(?P<type_id>\d+)/(?P<page_num>\d*)$', views.List.as_view(), name='list'),
    re_path('^test$', views.test, name='test'),
]